# This is a show time progrems.

def myTime():
    h = int(input("Enter a int num for hours: "))
    if h<0 or h>23:
        raise Exception ("Enter a Error hour.")

    m = int(input("Enter a int num for minutes: "))
    if m<0 or m>59:
        raise Exception ("Enter a Error mintue.")

    s = int(input("Enter a int num of seconds: "))
    if s<0 or s>59:
        raise Exception ("Enter a Error second.")


    print("You before enter time is: %02d:%02d:%02d" % (h, m, s))


try:
    myTime()
except Exception as e:
    print(e)



